package com.dfd.oauth2.resource.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.dfd.oauth2.resource.mapper.TbContentCategoryMapper;
import com.dfd.oauth2.resource.domain.TbContentCategory;
import com.dfd.oauth2.resource.service.TbContentCategoryService;


/*
*文件名: TbContentCategoryServiceImpl
*创建者: 东东
*创建时间:2021/8/30 15:54
*描述: 
*/
@Service
public class TbContentCategoryServiceImpl implements TbContentCategoryService{

    @Resource
    private TbContentCategoryMapper tbContentCategoryMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return tbContentCategoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TbContentCategory record) {
        return tbContentCategoryMapper.insert(record);
    }

    @Override
    public int insertSelective(TbContentCategory record) {
        return tbContentCategoryMapper.insertSelective(record);
    }

    @Override
    public TbContentCategory selectByPrimaryKey(Long id) {
        return tbContentCategoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TbContentCategory record) {
        return tbContentCategoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TbContentCategory record) {
        return tbContentCategoryMapper.updateByPrimaryKey(record);
    }

}
